home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DTP
/
DTP_TEX
/
H002C.ZIP
/
DVIDRV1.ZIP
/
EMTEX
/
FLI_P6L.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-09-24
|
2KB
|
69 lines
@echo off
rem fli_p6l.cmd
rem This should be done before running this batch file:
rem mfjob all m=lql
rem mfjob latex m=lql
rem mfjob emsy m=lql
set fli_opt=
:next_arg
if "%1"=="/v" goto set_v
if "%1"=="/V" goto set_v
if "%1"=="-v" goto set_v
if "%1"=="-V" goto set_v
if "%1"=="test" goto test
if "%1"=="TEST" goto test
if "%1"=="Test" goto test
if "%1"=="" goto usage
if "%2"=="" goto start
:usage
echo Usage: fli_p6l [/v] source_directory\
echo Usage: fli_p6l test
goto end
:set_v
set fli_opt=/v
shift
goto next_arg
:start
set fli_opt=%fli_opt% /b180 /f%EMTEX%\emtex\fontlist
fontlib /c %fli_opt% p6l_0 =%1%%rdpi :0 +*.pk 144 +*.pk 162 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_h =%1%%rdpi :h +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_1 =%1%%rdpi :1 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_2 =%1%%rdpi :2 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_3 =%1%%rdpi :3 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_4 =%1%%rdpi :4 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_5 =%1%%rdpi :5 +*.pk
if errorlevel 1 goto error
fontlib /c %fli_opt% p6l_sli =%1%%rdpi :6 +*.pk :7 +*.pk :8 +*.pk :9 +*.pk
if errorlevel 1 goto error
:test
fontlib /t %fli_opt% p6l_0
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_h
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_1
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_2
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_3
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_4
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_5
if errorlevel 1 goto error
fontlib /t %fli_opt% p6l_sli
if errorlevel 1 goto error
goto end
:error
echo *** Error!
:end
set fli_opt=